package htwt

import "log"

//TestOperator 测试操作类
type TestOperator struct {
}

//ConnectHtwt 链节下单客户端
func (testOperator *TestOperator) ConnectClient() error {
	return nil
}

//Buy 买入
func (testOperator *TestOperator) Buy(account string, ticker string, money float64) (int, float64, error) {
	log.Println("TestOperator.Buy", ticker, money)
	return 0, 0, nil
}

//Sale 卖出
func (testOperator *TestOperator) Sale(account string, ticker string, count uint64) (float64, error) {
	log.Println("TestOerator.Sale", ticker, count)
	return 0, nil
}
